import CySearchForm from './searchForm/index.vue'
import CyProForm from './proForm/index.vue'
import CyPage from './page/index.vue'
import CyImageUpload from './fileUpload/imageUpload.vue'
import CyFileUpload from './fileUpload/fileUpload.vue'
import CyProTable from './proTable/index.vue'
import CyCheckboxGroup from './checkboxGroup/index.vue'
import CyRadioGroup from './radioGroup/index.vue'
import CySelect from './select/index.vue'
import CySelectMonths  from './selectMonths/index.vue'
import CyAnchorGroup  from './anchorGroup/index.vue'
import CyAnchorMenu  from './anchorMenu/index.vue'
import CyEditTable  from './editTable/editTable.vue'
import CyEditTableColumn from './editTable/editTableColumn.vue'
import CySplit from './split/split.vue'
import CySelectQuarter from './selectQuarter/index.vue'

export { //实现按需引入*
  CyCheckboxGroup,
  CyRadioGroup,
  CySelect,
  CySearchForm,
  CyProForm,
  CyPage,
  CyImageUpload,
  CyFileUpload,
  CyProTable,
  CySelectMonths,
  CyAnchorGroup,
  CyAnchorMenu,
  CyEditTable,
  CyEditTableColumn,
  CySplit,
  CySelectQuarter
}


const coms = [
  CyCheckboxGroup,
  CyRadioGroup,
  CySelect,
  CySearchForm,
  CyProForm,
  CyPage,
  CyImageUpload,
  CyFileUpload,
  CySelectMonths,
  CyProTable,
  CyAnchorGroup,
  CyAnchorMenu,
  CyEditTable,
  CySplit,
  CyEditTableColumn,
  CySelectQuarter] // 将来如果有其它组件,都可以写到这个数组里
  
const install = function(App) {
  coms.forEach((component) => {
    App.component('Cy'+component.name,component);
  });
};
export default { install };// 批量的引入*

